﻿<!doctype html>
<html>
<head runat="server">
<meta charset="utf-8" />
<title>phpwind - powered by phpwind.net</title>
<meta http-equiv="expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<link rel="stylesheet" href="images/admin/admin_style.css" />
<script src="js/admin.js"></script>
<script language="JavaScript">
var agt = navigator.userAgent.toLowerCase();
var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
var is_gecko = (navigator.product=='Gecko');
var imgpath = 'images';

//check used
function getObj(id){
	return document.getElementById(id);
}
function showselect(type){
	var selects = get_tags(document,'select');
	for (i=0; i<selects.length; i++) {
		selects[i].style.visibility = type;
	}
}
function checkgroupset(chars){
	if (!confirm("确定删除吗? 如果您删除了此用户组,请到站点缓存数据管理更新用户头衔缓冲!")) return false;
	window.location.href = chars;return false;
}
function get_tags(parentobj,tag){
	if (typeof parentobj.getElementsByTagName!='undefined') {
		return parentobj.getElementsByTagName(tag);
	} else if (parentobj.all && parentobj.all.tags) {
		return parentobj.all.tags(tag);
	} else {
		return null;
	}
}
function ietruebody(){
	return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body;
}
function getTop() {
	return typeof window.pageYOffset != 'undefined' ? window.pageYOffset:ietruebody().scrollTop;
}
function getLeft() {
	return (typeof window.pageXOffset != 'undefined' ? window.pageXOffset:ietruebody().scrollLeft)
}
//other function
function CheckAll(form){
	var ifcheck = null;
	for (var i=0;i<form.elements.length-1;i++){
		var e = form.elements[i];
		if(e.type=='checkbox'){
			if (ifcheck === null) ifcheck = !e.checked;
			e.checked = ifcheck;
			if (typeof e.onclick == 'function') e.onclick();
		}
	}
	return ifcheck;
}
function atccheck(){
	if(document.FORM.atc_title.value==''){
		alert('标题为空');
		document.FORM.atc_title.focus();
		return false;
	} else if(document.FORM.fid.value==''){
		alert('没有选择文章所属分类');
		document.FORM.fid.focus();
		return false;
	}
	_submit();
}
function level_jump(admin_file){
	var URL=document.mod.selectfid.options[document.mod.selectfid.selectedIndex].value;
	location.href=admin_file+"?adminjob=level&action=editgroup&gid="+URL;
}
function ip_jump(name){
	URL = eval('document.form1.' + name + '.options[document.form1.' + name + '.selectedIndex].value');
	location.href=URL;
}
function pwJsCheck(_this,check,tagName){
	try{
		if (typeof tagName == 'undefined') tagName = "tr";
		if (typeof check == 'undefined') {
			if (typeof _this.checked == 'boolean') {
				check = _this.checked;
			} else {
				check = false;
			}
		}
		var o = _this.parentNode;
		var i = 3;
		while(i--){
			if (o.nodeName.toLowerCase() == tagName) {
				var className =  o.className.replace(/\s?td_bgC/ig, "");
				if (check) {
					className +=' td_bgC';
				}
				o.className = className;
				break;
			} else {
				o = o.parentNode;
			}
		}
	}catch(e){}
}
//Cookies Function
function getCookie(name) {
    var start = document.cookie.indexOf(name + '=');
    var len = start + name.length + 1;
    if ((!start) && (name != document.cookie.substring(0, name.length))) {
        return null;
    }
    if (start==-1) {
        return null;
    }
    var end = document.cookie.indexOf(';', len);
    if (end == -1) {
        end = document.cookie.length;
    }
    return unescape(document.cookie.substring(len,end));
}
function setCookie(name, value, expires, path, domain, secure) {
	if (!expires) {
		expires = new Date();
		expires.setTime(expires.getTime()+31536000);
	}
	document.cookie = name + '=' + escape(value) +
        ( (expires) ? ';expires=' + expires.toGMTString() : '') +
        'path=' + ( (path) ? path : '/') +
        ( (domain)  ? ';domain=' + domain : '') +
        ( (secure)  ? ';secure' : '');
}
function IsElement(id) {
	return document.getElementById(id) != null ? true : false;
}
function elementBind(type,id,stylename,csstext){
	var element = document.createElement(type);
	if (id) {
		element.id = id;
	}
	if (typeof(stylename) == 'string') {
		element.className = stylename;
	}
	if (typeof(csstext) == 'string') {
		element.style.cssText = csstext;
	}
	return element;
}
function addChild(parent,type,id,stylename,csstext){
	parent = objCheck(parent);
	var child = elementBind(type,id,stylename,csstext);
	parent.appendChild(child);
	return child;
}

function delElement(id){
	id = objCheck(id);
	id.parentNode.removeChild(id);
}
function objCheck(obj) {
	if (typeof(obj)=='string') {
		obj	= getObj(obj);
	}
	return obj;
}
document.onkeydown = function(e){
	var e = is_ie ? window.event: e;
	if ( e.keyCode==116) {
		window.location.reload();
		if (is_ie) {
			e.keyCode = 0;
       		e.cancelBubble = true;
		}
		return false;
	}
}
Class = function(aBaseClass, aClassDefine) {
	function class_() {
		this.Inherit = aBaseClass;
		for (var member in aClassDefine) {
			try{this[member] = aClassDefine[member];}catch(e){}		//针对opera,safri浏览器的只读属性的过滤
		}
	}
	class_.prototype = aBaseClass;
	return  new class_();
};
New = function(aClass, aParams) {
	function new_()	{
		this.Inherit = aClass;
		if (aClass.Create) {
			aClass.Create.apply(this, aParams);
		}
	}
	new_.prototype = aClass;
	return  new new_();
};
function openNewUrl(id,name,url){
	parent.PW.Dialog({
		'id': id,
		'name': name,
		'url': url
	}).loadIframe(url);
}
</script>

<script type="text/javascript">
var manageclass = {
	superdel : function (obj,forumid,step){
		var form = getObj(forumid);
		form.step.value = step;
		var page = obj.getAttribute("page");
		if(!page){
			page = getObj("input_page").value;
		}
		page = (page) ? page : 1;
		form.page.value = page;
		setTimeout(function(){
			form.submit();
		},0);
	}
}
window.onload = function(){
	if(parent.adminNavClass){
		parent.adminNavClass.initTips();
	}
}
</script>
</head>
<body>
<div class="wrap">

<div id="notice"></div>

<style type="text/css">
.admin_table .td1,.admin_table .td2{padding:4px 5px 4px 15px;line-height:22px;}
</style>
<div class="admin_info mb10">
	<h4 class="h1">安全提示</h4>
	<div class="legend">
<ol>

	<li>强烈建议您将 data/sql_config.php 文件属性设置为644（linux/unix）或只读（NT） </li>

	<li>强烈建议您使用 data目录隐藏功能，此功能可大大提高网站安全性，设置方法请参照相关帮助文档或联系官方寻求帮助 </li>

	<li>强烈建议您将PHP配置文件（php.ini）中的 register_globals 设置为Off，可大大提高网站安全性</li>

	<li>强烈建议您将 admin.php 文件重新命名，您可以通过“全局-安全优化-安全控制”将 admin.php 重新命名，如:abc.php，然后使用 abc.php 登录后台管理 </li>

	<li>强烈建议您开启 安全问题功能（“全局-安全优化-安全控制”），并在 强制使用安全问题用户组设置 中选择管理员、总版主、版主等具有较高管理权限的用户组 </li>

</ol>
	</div>
</div>

<div class="cc">
	<div>
	<h4 class="h1">您的资料</h4>
    <div class="admin_table mb10">
        <table width="100%">
            <tr class="tr1 vt">
                <td class="td1">用户名</td>
                <td class="td2">admin</td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">级别</td>
                <td class="td2">创始人</td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">上次登录时间</td>
                <td class="td2">2012-02-12 21:00</td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">上次登录IP</td>
                <td class="td2">127.0.0.1</td>
            </tr>
        </table>
    </div>
    </div>

    <div class="fl" style="width:50%; clear:left;">
	<h4 class="h1">站点管理</h4>
    <div class="admin_table mb10">
        <table width="100%">
            <tr class="tr1 vt">
                <td class="td1">主题</td>
                <td class="td2">待审核主题数 0 <a href="javascript:;" onclick="openNewUrl('tpccheck','帖子审核','/phpwind/admin.php?adminjob=tpccheck');">审核</a></td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">回复</td>
                <td class="td2">待审核回复数 0 <a href="javascript:;" onclick="openNewUrl('tpccheck','帖子审核','/phpwind/admin.php?adminjob=tpccheck&action=postcheck');">审核</a></td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">敏感词</td>
                <td class="td2">待审核敏感词数 0 <a href="javascript:;" onclick="openNewUrl('setbwd','敏感词审核','/phpwind/admin.php?adminjob=setbwd&action=check');">审核</a></td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">会员</td>
                <td class="td2">未验证会员数 0 <a href="javascript:;" onclick="openNewUrl('usercheck','用户审核','/phpwind/admin.php?adminjob=usercheck');">审核</a></td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">链接</td>
                <td class="td2">待审核友情链接数 0 <a href="javascript:;" onclick="openNewUrl('share','友情链接','/phpwind/admin.php?adminjob=share');">审核</a></td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">举报</td>
                <td class="td2">未处理帖子举报数 0 <a href="javascript:;" onclick="openNewUrl('report','举报管理','/phpwind/admin.php?adminjob=report');">处理</a></td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">论坛缓存</td>
                <td class="td2">
                	<span class="bt2"><span><button type="button" onclick="openNewUrl('aboutcache','论坛缓存更新','/phpwind/admin.php?adminjob=aboutcache&adminitem=updatecache&action=cache');">更 新</button></span></span>
                </td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">站点公告</td>
                <td class="td2">
                	<span class="bt2"><span><button type="button" onclick="openNewUrl('announcement','公告管理','/phpwind/admin.php?adminjob=announcement');">管 理</button></span></span>
                </td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">版块设置</td>
                <td class="td2">
                    <select id="selforum" name="" class="select_wa">
                        <option>请选择版块</option>
<option value="1">&gt;&gt; 默认分类</option>
<option value="2"> &nbsp;|- 默认版块</option>

                    </select>
                    <span class="bt2"><span><button type="button" onclick="WhereToJump('setforum','版块设置','selforum','adminjob=setforum&action=edit&fid=');">编 辑</button></span></span>
                </td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">编辑会员组</td>
                <td class="td2">
                    <select id="selectlv" name="" class="select_wa">
                        <option>请选择会员组</option><option value="1">default</option><option value="2">游客</option><option value="6">禁止发言</option><option value="7">未验证会员</option><option value="3">管理员</option><option value="4">总版主</option><option value="5">论坛版主</option><option value="17">门户编辑</option><option value="16">荣誉会员</option><option value="8">新手上路</option><option value="9">侠客</option><option value="10">骑士</option><option value="11">圣骑士</option><option value="12">精灵王</option><option value="13">风云使者</option><option value="14">光明使者</option><option value="15">天使</option>
                    </select>
                    <span class="bt2"><span><button type="button" onclick="WhereToJump('level','编辑会员组权限','selectlv','adminjob=level&action=editgroup&gid=');">编 辑</button></span></span>
                </td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">编辑用户</td>
                <td class="td2">                    
                     <input id="schname" class="input input_wa" name="schname" value="请输入用户名" onclick="this.value=''" type="text" />
                    <span class="bt2"><span><button type="button" onclick="WhereToJump('usermanage','编辑用户','schname','adminjob=usermanage&adminitem=edit&action=search&schname_s=1&schname=');">编 辑</button></span></span>
                    
                </td>
            </tr>
        </table>
    </div>
    </div>
	<div class="fr" style="width:48.5%;margin-left:1.5%; clear:right;">
	<h4 class="h1">站点信息</h4>
    <div class="admin_table mb10">
        <table width="100%">
            <tr class="tr1 vt">
                <td class="td1">版块分类</td>
                <td class="td2">1 个&nbsp;<a href="javascript:;" onclick="openNewUrl('setforum','管理版块','/phpwind/admin.php?adminjob=setforum');">查看</a></td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">论坛版块</td>
                <td class="td2">2 个&nbsp;<a href="javascript:;" onclick="openNewUrl('setforum','管理版块','/phpwind/admin.php?adminjob=setforum');">查看</a></td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">管理员</td>
                <td class="td2">1 人&nbsp;<a href="javascript:;" onclick="openNewUrl('userstats','成员统计','/phpwind/admin.php?adminjob=userstats');">查看</a></td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">总版主</td>
                <td class="td2">0 人&nbsp;<a href="javascript:;" onclick="openNewUrl('userstats','成员统计','/phpwind/admin.php?adminjob=userstats');">查看</a></td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">版主</td>
                <td class="td2">0 人&nbsp;<a href="javascript:;" onclick="openNewUrl('userstats','成员统计','/phpwind/admin.php?adminjob=userstats');">查看</a></td>
            </tr>
            <tr class="tr1 vt">
                <td class="td1">数据库</td>
                <td class="td2">1.34 兆</td>
            </tr>
        </table>
    </div>
    </div>

</div>

<h2 class="h1">最新管理操作记录</h2>
<div class="admin_table mb10">
    <table width="100%">
    <tr class="tr2">
        <td width="10%">用户名</td>
        <td width="10%">IP</td>
        <td width="15%">操作时间</td>
        <td width="30%">操作理由</td>
    </tr>
    
    </table>
</div>

<script language="JavaScript">
function WhereToJump(id,name,v,url){
	if (document.getElementById(v).value) {
		openNewUrl(id,name,'/phpwind/admin.php?' + url + document.getElementById(v).value);
	}
	return false;
}
</script>
<div id="system" style="display:none;"></div>

<div class="c"></div>
</div>

<div class="bottom">
<a class="fr" href="/phpwind/admin.php?adminjob=admin&job=notice" onclick="openNewUrl('default','关于phpwind','/phpwind/admin.php?adminjob=admin&job=notice');return false;" >关于phpwind</a>
Powered by&nbsp;&nbsp;<a href="http://www.phpwind.net/" target="_blank"><b>phpwind</b> v8.5 (UTF-8)</a>&nbsp;&copy;2003-2011,<b style="color: #FF9900">phpwind.com</b>

</div>

<script type="text/javascript" src="js/desktop/plugin.js"></script>
<script type="text/javascript">
var allInputs = document.getElementsByTagName('input');
if(allInputs && allInputs.length>0){
	for(var i=0; i<allInputs.length;i++)
	{
		var ipt = allInputs[i].parentNode;
		if(ipt.tagName=='LI'&& allInputs[i].type=='radio')
		{
			allInputs[i].checked && (ipt.className='current');
			ipt.onclick = function(){radioWithWords(this)};
		}
	}
}
</script>
</body></html>

<script language="JavaScript" src="http://nt.phpwind.net/notice.php?bbsname=phpwind&totalmember=1&threads=0&posts=0&hits=&yposts=0&version=8.5&repair=20110524&charset=utf-8&c=0&u=1&sysversion=5.2.3&dbversion=5.0.45-community-nt-log&url=localhost%3A8888&ystat=1&hash=fcc40491204228803bcceea5474335db&from="></script>

